﻿@model EWConfigurationLanguageModel
@{
    ViewBag.Title = EWWebResources.Configuration_Language_PageTitle;
}

@using (Html.BeginRouteForm("EasyWeb_Configuration", FormMethod.Post, new { id = "easyweb-form-edit" }))
{
    <fieldset>
        <legend></legend>
        <div>
            @Html.EditorForModel()
        </div>
        <div>
            <input id="easyweb-action-submit" type="submit" value="@EWWebResources.Button_Save" />
            <a id="easyweb-action-cancel" href="@Url.RouteUrl("EasyWeb_Admin")">@EWWebResources.Button_Cancel</a>
        </div>
    </fieldset>
}

@section head {
}

@section scripts {
    <script type="text/javascript">
        (function ($) {
            $(function () {
                $("#easyweb-action-submit, #easyweb-action-cancel").button();
                EasyWeb.EWAdmin.initEWConfigurationLanguageModel();
            });
        })(jQuery);
    </script>
}